#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H

#include <QDialog>

namespace Ui {
class LoginDialog;
}

class LoginDialog : public QDialog
{
    Q_OBJECT

public:
    explicit LoginDialog(QWidget *parent = 0);
    QString package;
    ~LoginDialog();
private:
    Ui::LoginDialog *ui;
    void accept();
    bool copyFileToPath(QString sourceDir ,QString toDir, bool coverFileIfExist);
signals:
    void packageChanged(QString);   //用来传递数据的信号
};

#endif // LOGINDIALOG_H
